<?php

namespace plugin\agent\app\admin\validate;

use app\common\validate\BaseValidate;

class AgentWithdrawalValidate extends BaseValidate
{
    protected $rule = [
        'id' => 'require',
        'desc' => 'must',
        'refuse_reason' => 'require',
    ];

    protected $field = [
        'id' => 'ID',
    ];
    protected $scene = [
        "agree" => [
            'id',
            'desc',
        ],
        "refuse" => [
            'id',
            'refuse_reason',
        ],
    ];
}